/*
 * Copyright (C) 2010-2011 Comcast Cable.  All Rights Reserved.
 */
package com.hercules.android.receiver.errorhandlers;

import com.hercules.android.receiver.connection.ConnectionErrorHandler;

/**
 * This is empty implementation of {@link ConnectionErrorHandler} interface. It does nothing.
 * <p>
 * AndroidAssembly1 this class was added in Android Assembly 1
 * <p>
 * <b>Thread safety:</b> This class is immutable and thread safe
 *
 * @author 7realm
 * @version 1.0
 */
public class DefaultConnectionErrorHandler implements ConnectionErrorHandler {
    /**
     * Handles the given exception.
     *
     * @param exception the exception to be handled
     */
    public void handleException(Exception exception) {
        // empty handler, so special actions here
        // exception will be logged before handling, so no need to log it twice
    }
}
